package com.only4play.system.req;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * @author hinzzz www.hinzzz.cn 157957329@qq.com
 * 2024-02-28
 */
@Data
public class ProductCreateReq {

    @Schema(
            title = "编码"
    )
    private String code;

    @Schema(
            title = "名称"
    )
    private String name;

    @Schema(
            title = "分类id"
    )
    private Long categoryId;

    @Schema(
            title = "描述"
    )
    private String description;

    @Schema(
            title = "类型"
    )
    private Integer type;

    @Schema(
            title = "是否需要序列化"
    )
    private Integer serializeType;

    @Schema(title = "模板项")
    private List<TemplateItemCreateItem> itemCreateItems;
}
